package com.base.common.edu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Maple.Chen
 * @Description 学生评价实体 - （巩固知识点：使用mybatis鉴别器）
 * @Date 20:26 2021/2/3
 **/
@Data
@ApiModel(description = "学生评价实体")
@JsonIgnoreProperties(value = {"handler"})
public class StuAppraise implements Serializable {

    private static final long serialVersionUID = -1847015605757003934L;
    @ApiModelProperty( value = "评价记录ID：UUID")
    private String appraiseId;
    @ApiModelProperty( value = "评论发表人,参照学生实体")
    private Student student;
    @ApiModelProperty( value = "评论类型（1：授课评价，2：教师评价，3：教学建议）")
    private Integer appraiseType;
    @ApiModelProperty( value = "记录授课评价的授课号：三选一")
    private ValidCourse validCourse;
    @ApiModelProperty( value = "记录教师评价的教师：三选一")
    private Staff staff;
    @ApiModelProperty( value = "评价或建议：三选一")
    private String suggestion;
    @ApiModelProperty( value = "评价创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
